﻿Imports System.ComponentModel

Public MustInherit Class ViewModelBase
    Implements INotifyPropertyChanged

    Public Event PropertyChanged(sender As Object, e As PropertyChangedEventArgs) Implements INotifyPropertyChanged.PropertyChanged

    Public Sub RaisePropertyChanged(prop As String)
        If prop IsNot Nothing Then
            RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs(prop))
        End If
    End Sub
End Class
